import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

//引入Vant
import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

// 引入mintui
import MintUI from "mint-ui";
import "mint-ui/lib/style.css";
Vue.use(MintUI);

//引入ElementUI
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "./assets/iconfont/iconfont.css";
Vue.use(ElementUI);

//引入axios
import axios from "axios";
import VueAxios from "vue-axios";
//axios.defaults.baseURL = "";
Vue.use(VueAxios, axios);

//引入公共样式
import "reset-css";

//Rem布局
import "lib-flexible";

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
